//
//  Car.m
//  字典嵌套字典使用KVC解析
//
//  Created by 周成龙 on 2018/3/12.
//  Copyright © 2018年 XZL. All rights reserved.
//

#import "Car.h"

@implementation Car

- (instancetype)initModelWithDictionary:(NSDictionary *)dict {
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}

+ (instancetype)modelWithDictionary:(NSDictionary *)dict {
    return [[self alloc] initModelWithDictionary:dict];
}

@end
